The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
Changes 04
META.yml 11
bin/cpanm 57
lib/App/cpanminus.pm 22
4 files changed (This is a version diff) 814
@@ -1,5 +1,9 @@
 See http://github.com/miyagawa/cpanminus/ for the latest development.
 
+1.1007  Tue Jan 18 09:39:05 PST 2011
+   - Fixed installation documents
+   - Added PERL_CPANM_NO_AUTOMATED_TESTING to unset AUTOMATED_TESTING to find which modules break (mst)
+
 1.1006  Thu Dec 16 11:27:29 PST 2010
    - Fixed docs to use curl instead of wget because of its cert bug
    - Fixed the usage of local() where PERL5_CPANPLUS_IS_RUNING was leaking (dg) #75
@@ -1,6 +1,6 @@
 --- #YAML:1.0
 name:               App-cpanminus
-version:            1.1006
+version:            1.1007
 abstract:           Get, unpack, build and install modules from CPAN.
 author:  []
 license:            perl
@@ -18,7 +18,7 @@ my %fatpacked;
 
 $fatpacked{"App/cpanminus.pm"} = <<'APP_CPANMINUS';
   package App::cpanminus;
-  our $VERSION = "1.1006";
+  our $VERSION = "1.1007";
   
   =head1 NAME
   
@@ -59,7 +59,7 @@ $fatpacked{"App/cpanminus.pm"} = <<'APP_CPANMINUS';
   Otherwise,
   
       cd ~/bin
-      curl -O http://xrl.us/cpanm
+      curl -LO http://xrl.us/cpanm
       chmod +x cpanm
       # edit shebang if you don't have /usr/bin/env
   
@@ -220,7 +220,7 @@ $fatpacked{"App/cpanminus/script.pm"} = <<'APP_CPANMINUS_SCRIPT';
   use constant WIN32 => $^O eq 'MSWin32';
   use constant SUNOS => $^O eq 'solaris';
   
-  our $VERSION = "1.1006";
+  our $VERSION = "1.1007";
   $VERSION = eval $VERSION;
   
   my $quote = WIN32 ? q/"/ : q/'/;
@@ -873,7 +873,8 @@ $fatpacked{"App/cpanminus/script.pm"} = <<'APP_CPANMINUS_SCRIPT';
   sub test {
       my($self, $cmd, $distname) = @_;
       return 1 if $self->{notest};
-      local $ENV{AUTOMATED_TESTING} = 1;
+      local $ENV{AUTOMATED_TESTING} = 1
+          unless $self->env('NO_AUTOMATED_TESTING');
   
       return 1 if $self->run_timeout($cmd, $self->{test_timeout});
       if ($self->{force}) {
@@ -5658,7 +5659,8 @@ s/^  //mg for values %fatpacked;
 
 unshift @INC, sub {
   if (my $fat = $fatpacked{$_[1]}) {
-    open my $fh, '<', \$fat;
+    open my $fh, '<', \$fat
+      or die "FatPacker error loading $_[1] (could be a perl installation issue?)";
     return $fh;
   }
   return
@@ -1,5 +1,5 @@
 package App::cpanminus;
-our $VERSION = "1.1006";
+our $VERSION = "1.1007";
 
 =head1 NAME
 
@@ -40,7 +40,7 @@ latest version.
 Otherwise,
 
     cd ~/bin
-    curl -O http://xrl.us/cpanm
+    curl -LO http://xrl.us/cpanm
     chmod +x cpanm
     # edit shebang if you don't have /usr/bin/env